package org.AdaterPattern.relation;

public class Adater implements Target {
	private IAdapee1 iAdapee1;
	private IAdapee2 iAdapee2;
	private Adapee1 adapee1;
	private Adapee2 adapee2;
	
	
	
	public Adater(Adapee1 adapee1, Adapee2 adapee2) {
		this.adapee1 = adapee1;
		this.adapee2 = adapee2;
		
		this.iAdapee1 = this.adapee1;
		this.iAdapee2 = this.adapee2;
	}

	public void request() {
		this.iAdapee1.dosoming();
		this.iAdapee2.dosoming();
	}

}
